<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: Spec::DSL::Behaviour</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Spec::DSL::Behaviour</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../../files/vendor\plugins\rspec/lib/spec/dsl/behaviour_rb.html">
                vendor\plugins\rspec/lib/spec/dsl/behaviour.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                <a href="../../Object.html">
                Object
               </a>
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">



   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000438">add_shared_behaviour</a>&nbsp;&nbsp;
      <a href="#M000442">before_eval</a>&nbsp;&nbsp;
      <a href="#M000458">described_type</a>&nbsp;&nbsp;
      <a href="#M000457">description</a>&nbsp;&nbsp;
      <a href="#M000453">execution_context</a>&nbsp;&nbsp;
      <a href="#M000439">find_shared_behaviour</a>&nbsp;&nbsp;
      <a href="#M000449">include</a>&nbsp;&nbsp;
      <a href="#M000445">matches?</a>&nbsp;&nbsp;
      <a href="#M000450">method_missing</a>&nbsp;&nbsp;
      <a href="#M000448">methods</a>&nbsp;&nbsp;
      <a href="#M000441">new</a>&nbsp;&nbsp;
      <a href="#M000444">number_of_examples</a>&nbsp;&nbsp;
      <a href="#M000456">plugin_mock_framework</a>&nbsp;&nbsp;
      <a href="#M000451">prepare_execution_context_class</a>&nbsp;&nbsp;
      <a href="#M000447">retain_examples_matching!</a>&nbsp;&nbsp;
      <a href="#M000443">run</a>&nbsp;&nbsp;
      <a href="#M000455">run_after_all</a>&nbsp;&nbsp;
      <a href="#M000454">run_before_all</a>&nbsp;&nbsp;
      <a href="#M000446">shared?</a>&nbsp;&nbsp;
      <a href="#M000440">shared_behaviours</a>&nbsp;&nbsp;
      <a href="#M000452">weave_in_included_modules</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->
    <div id="includes">
      <h3 class="section-bar">Included Modules</h3>

      <div id="includes-list">
        <span class="include-name"><a href="BehaviourEval/InstanceMethods.html">BehaviourEval::InstanceMethods</a></span>
        <span class="include-name"><a href="../Plugins/MockFramework.html">Spec::Plugins::MockFramework</a></span>
      </div>
    </div>

    <div id="section">





      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Class methods</h3>

      <div id="method-M000438" class="method-detail">
        <a name="M000438"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000438.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000438.html');return false;">
          <span class="method-name">add_shared_behaviour</span><span class="method-args">(behaviour)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000439" class="method-detail">
        <a name="M000439"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000439.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000439.html');return false;">
          <span class="method-name">find_shared_behaviour</span><span class="method-args">(behaviour_description)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000441" class="method-detail">
        <a name="M000441"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000441.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000441.html');return false;">
          <span class="method-name">new</span><span class="method-args">(*args, &amp;behaviour_block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000440" class="method-detail">
        <a name="M000440"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000440.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000440.html');return false;">
          <span class="method-name">shared_behaviours</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000449" class="method-detail">
        <a name="M000449"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000449.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000449.html');return false;">
          <span class="method-name">include</span><span class="method-args">(*args)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Includes modules in the <a href="Behaviour.html">Behaviour</a> (the
<tt>describe</tt> block).
</p>
        </div>
      </div>

      <div id="method-M000445" class="method-detail">
        <a name="M000445"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000445.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000445.html');return false;">
          <span class="method-name">matches?</span><span class="method-args">(specified_examples)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000448" class="method-detail">
        <a name="M000448"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000448.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000448.html');return false;">
          <span class="method-name">methods</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000444" class="method-detail">
        <a name="M000444"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000444.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000444.html');return false;">
          <span class="method-name">number_of_examples</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000447" class="method-detail">
        <a name="M000447"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000447.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000447.html');return false;">
          <span class="method-name">retain_examples_matching!</span><span class="method-args">(specified_examples)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000443" class="method-detail">
        <a name="M000443"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000443.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000443.html');return false;">
          <span class="method-name">run</span><span class="method-args">(reporter, dry_run=false, reverse=false, timeout=nil)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000446" class="method-detail">
        <a name="M000446"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000446.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000446.html');return false;">
          <span class="method-name">shared?</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <h3 class="section-bar">Protected Instance methods</h3>

      <div id="method-M000442" class="method-detail">
        <a name="M000442"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000442.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000442.html');return false;">
          <span class="method-name">before_eval</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000458" class="method-detail">
        <a name="M000458"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000458.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000458.html');return false;">
          <span class="method-name">described_type</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000457" class="method-detail">
        <a name="M000457"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000457.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000457.html');return false;">
          <span class="method-name">description</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000453" class="method-detail">
        <a name="M000453"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000453.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000453.html');return false;">
          <span class="method-name">execution_context</span><span class="method-args">(example)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000450" class="method-detail">
        <a name="M000450"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000450.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000450.html');return false;">
          <span class="method-name">method_missing</span><span class="method-args">(sym, *args, &amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Messages that this class does not understand are passed directly to the
@eval_module.
</p>
        </div>
      </div>

      <div id="method-M000456" class="method-detail">
        <a name="M000456"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000456.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000456.html');return false;">
          <span class="method-name">plugin_mock_framework</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000451" class="method-detail">
        <a name="M000451"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000451.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000451.html');return false;">
          <span class="method-name">prepare_execution_context_class</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000455" class="method-detail">
        <a name="M000455"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000455.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000455.html');return false;">
          <span class="method-name">run_after_all</span><span class="method-args">(reporter, dry_run)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000454" class="method-detail">
        <a name="M000454"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000454.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000454.html');return false;">
          <span class="method-name">run_before_all</span><span class="method-args">(reporter, dry_run)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000452" class="method-detail">
        <a name="M000452"></a>

        <div class="method-heading">
          <a href="Behaviour.src/M000452.html" target="Code" class="method-signature"
            onclick="popupCode('Behaviour.src/M000452.html');return false;">
          <span class="method-name">weave_in_included_modules</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>